﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VM.Common.Result;
using VM.Entity.EntityDto.System.Code;
using VM.Entity.EntityMap.System.Code;

namespace VM.IDAL.System.Code
{
    public interface ICodeHelperDAL
    {
        /// <summary>
        /// 插入编码规则
        /// </summary>
        /// <param name="obj"></param>
        /// <returns></returns>
        public int addCodeRule(sys_codeRule obj);


        public int updateCodeRule(sys_codeRule obj);

        /// <summary>
        /// 删除编码规则
        /// </summary>
        /// <param name="obj"></param>
        /// <returns></returns>
        public int deleteCodeRule(sys_codeRule obj);
        public PagingData<getCodeRuleListDto> getCodeRuleListDto(string TypeName, int UserId, int pageSize, int pageIndex);

    }
}
